<template>
  <div class="page-view" :class="{full: full}">
    <slot></slot>
  </div>
</template>
<script>
export default {
  name: 'PageView',
  props: {
    full: { type: Boolean, default: false }
  },
  data() {
    return {}
  },
  watch: {
    // $route(to) {
    //   this.activeTab(to.path);
    // },
  },
  methods: {
  }
}
</script>

<style lang="scss" scoped>
.page-view{
  padding-top: 70px;
  height: 100%;
  .page-content{
    overflow: auto;
  }
  &.full {
    padding: 0;
    overflow: auto;
    .page-content{
      overflow: visible;
    }
  }
}
</style>
